<?php /*a:2:{s:92:"C:\Users\user\Desktop\zhongshan_enterprise\public/../application/admin/view\index\index.html";i:1535183841;s:94:"C:\Users\user\Desktop\zhongshan_enterprise\public/../application/admin/view\public\header.html";i:1535183841;}*/ ?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
<title>后台登录-X-admin2.0</title>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="shortcut icon" href="__HOME__/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="__CSS__/font.css">
<link rel="stylesheet" href="__CSS__/xadmin.css">
<script type="text/javascript" src="__JS__/jquery.min.js"></script>
<script src="__STATIC__/lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="__JS__/xadmin.js"></script>
<link rel="stylesheet" href="__CSS__/font.css">
<link rel="stylesheet" href="__CSS__/xadmin.css">
</head>
<body>
    <!-- 顶部开始 -->
    <div class="container">
        <div class="logo"><a href="./index.html">网站管理系统2.0</a></div>
        <div class="left_open">
            <i title="展开左侧栏" class="iconfont">&#xe699;</i>
        </div>
        <ul class="layui-nav right" lay-filter="">
          <li class="layui-nav-item">
            <a href="javascript:;"><?php echo htmlentities($user['username']); ?></a>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
              <dd><a href="./login.html">退出</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item to-index"><a href="/">前台首页</a></li>
        </ul>
        
    </div>
    <!-- 顶部结束 -->
    <!-- 中部开始 -->
     <!-- 左侧菜单开始 -->
    <div class="left-nav">
      <div id="side-nav">
        <ul id="nav">
            <?php if($user['username']=='admin'): ?>
            <li class="open">
                <a _href="<?php echo url('User/index'); ?>">
                    <i class="iconfont"></i>
                    <cite>管理员</cite>
                </a>
            </li>
            <?php endif; if(is_array($param) || $param instanceof \think\Collection || $param instanceof \think\Paginator): if( count($param)==0 ) : echo "" ;else: foreach($param as $key=>$v): ?>
            <li>
                <?php if($v['model'] && $v['action']): ?>
                 <a _href="<?php echo url($v['model'].'/'.$v['action']); ?>">
                 <?php else: ?>
                 <a _href="javascript:;">
                 <?php endif; ?>
                    <i class="iconfont">&#xe6b8;</i>
                    <cite><?php echo htmlentities($v['name']); ?></cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                 </a>
                     <?php if(!(empty($v['son']) || (($v['son'] instanceof \think\Collection || $v['son'] instanceof \think\Paginator ) && $v['son']->isEmpty()))): ?>
                <ul class="sub-menu">
                    <?php if(is_array($v['son']) || $v['son'] instanceof \think\Collection || $v['son'] instanceof \think\Paginator): if( count($v['son'])==0 ) : echo "" ;else: foreach($v['son'] as $key=>$vv): ?>
                    <li>
                        <?php if($vv['model'] && $vv['action']): ?>
                        <a _href="<?php echo url($vv['model'].'/'.$vv['action']); ?>">
                         <?php else: ?>
                            <a _href="javascript:;">
                        <?php endif; ?>
                            <i class="iconfont">&#xe723;</i>
                            <cite><?php echo htmlentities($vv['name']); ?></cite>
                            <i class="iconfont nav_right">&#xe723;</i>
                        </a>
                            <?php if(!(empty($vv['son']) || (($vv['son'] instanceof \think\Collection || $vv['son'] instanceof \think\Paginator ) && $vv['son']->isEmpty()))): ?>
                        <ul class="sub-menu">
                            <?php if(is_array($vv['son']) || $vv['son'] instanceof \think\Collection || $vv['son'] instanceof \think\Paginator): if( count($vv['son'])==0 ) : echo "" ;else: foreach($vv['son'] as $key=>$vvv): ?>
                            <li>
                                <?php if($vvv['model'] && $vvv['action']): ?>
                                <a _href="<?php echo url($vvv['model'].'/'.$vvv['action']); ?>">
                                    <?php else: ?>
                                    <a _href="javascript:;">
                                        <?php endif; ?>
                                    <i class="iconfont">&#xe6b8;</i>
                                    <cite><?php echo htmlentities($vvv['name']); ?></cite>

                                </a>
                            </li >
                            <?php endforeach; endif; else: echo "" ;endif; ?>

                        </ul>
                            <?php endif; ?>
                    </li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
                     <?php endif; ?>
            </li>
            <?php endforeach; endif; else: echo "" ;endif; ?>

        </ul>
      </div>
    </div>
    <!-- <div class="x-slide_left"></div> -->
    <!-- 左侧菜单结束 -->
    <!-- 右侧主体开始 -->
    <div class="page-content">
        <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
          <ul class="layui-tab-title">
            <li class="home"><i class="layui-icon">&#xe68e;</i>我的桌面</li>
          </ul>
          <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe src='/index/welcome.html' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
            </div>
          </div>
        </div>
    </div>
    <div class="page-content-bg"></div>
    <!-- 右侧主体结束 -->
    <!-- 中部结束 -->
    <!-- 底部开始 -->
    <div class="footer">
        <div class="copyright">Copyright ©2017 x-admin v2.3 All Rights Reserved</div>  
    </div>
    <!-- 底部结束 -->
    <script>
    //百度统计可去掉
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
      var s = document.getElementsByTagName("script")[0]; 
      s.parentNode.insertBefore(hm, s);
    })();
    </script>
</body>
</html>